<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__STATIC__/css/base.css"/>
</head>
<body style="padding:10px;">
    <div class="path">
        <strong>您现在的位置：</strong>
        用户管理
    </div>
    <div class="send1">
        <a href="__CONTROL__/user_add_show" class="current button1">添加用户</a>
    </div>
    <table class="table1">
        <thead>
            <tr>
                <td width="80">用户ID</td>
                <td>用户名</td>
                <td width="160">所属组</td>
                <td width="100">禁止</td>
                <td width="260">操作</td>
            </tr>
        </thead>
        <tbody>
        <list from="$user" name="$v">
        <tr>
            <td>{$v.uid}</td>
            <td>{$v.username}</td>
            <td>{$v.title}</td>
            <td><if value="{$v.ustate}==1">否<else>是</if></td>
    <td width="260" style="font-size: 12px;">
        <a href="__CONTROL__/user_del/uid/{$v.uid}">删除</a> | 
        <a href="__CONTROL__/user_stop/uid/{$v.uid}/ustate/<if value='{$v.ustate}'>0<else>1</if>">
            <if value="{$v.ustate}==1">暂停<else>开启</if></a> | 
        <a href="__CONTROL__/user_edit_show/uid/{$v.uid}">编辑</a>
    </td>
</tr>
</list>
</tbody>  
</table>
<div class="page r" style="margin-top:10px;">{$page}</div>
</body>
</html>
